package wisents.api.factory;

import wisents.api.ElementCriteria;
import wisents.api.PageElement;

import java.util.List;

/**
 * User: rabbit
 * Date: Dec 20, 2009
 * Time: 1:51:28 PM
 */
public interface ElementCriteriaFactory {

    ElementCriteria createExistCriteria(PageElement pageElement);

    ElementCriteria createIsVisibleCriteria(PageElement pageElement);

    ElementCriteria createIsInvisibleCriteria(PageElement pageElement);

    ElementCriteria createIsEnabledCriteria(PageElement pageElement);

    ElementCriteria createIsDisabledCriteria(PageElement pageElement);

    ElementCriteria isTextFieldWithValue(PageElement pageElement, String value);

    ElementCriteria isTextAreaWithValue(PageElement pageElement, String value);

    ElementCriteria createIsCheckedCriteria(PageElement pageElement);

    ElementCriteria createIsNotCheckedCriteria(PageElement pageElement);

    ElementCriteria createIsComboboxWithValuesCriteria(PageElement pageElement, List<?> elements);

	ElementCriteria createIsLabelWithValueCriteria(PageElement pageElement, String value);
}
